if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  set.horizon(0);
  load.view(10);
  set.view(o1,10);
  animate.obj(o1);
  position(o1,136,50);
  draw(o1);
  load.view(11);
  set.view(o2,11);
  animate.obj(o2);
  position(o2,40,56);
  draw(o2);
  load.view(15);
  set.view(o3,15);
    set.cel(o3,0); 
  animate.obj(o3);
  position(o3,58,99);
  draw(o3);
  stop.cycling(o3);
  v10 = 1;

  if (v1 == 2) {
    position(o0,30,134);
    status.line.on();
    accept.input();
  }
  if (v1 == 5) {
    position(o0,130,99);
    status.line.on();
    accept.input();
     }
  if (v1 == 13) {
    position(o0,152,130);
    status.line.on();
    accept.input();
  }
  if (v1 == 4) {
    position(o0,66,102);
    v6 = 5;
    set.cel(o3,0);
    status.line.on();
    accept.input();
  }
  if (v1 == 7) {
    position(o0,3,110);
    v6 = 3;
    status.line.on();
    accept.input();
  }
  draw(o0);
  show.pic();
  load.sound(1);
  sound(1,f60);
}
if (said("catch","necklace")) {
  if (posn(o0,84,125,103,137)) {
    if (has("necklace")) {
      print("There's nothing but shit to take.");
      return();
    }
    get("necklace");
    print("Ok");
    v3 += 5;
    return();
  }
  print("You're not close enough.");
}
if (said("examine")) {
  print("This is the local bar.It's not a big place but it's the best you could "
        "find.There's also a sewer and a old fence.Remember also that your name "
        "is Lefty Leftfoot.");
}
if (said("examine","light pole")) {
  print("It's a post with a taxi sign on it.");
}
if (said("examine","brick")) {
  print("It says: 'BUM PALACE'");
}
if (said("increase","door")) {
  if (posn(o0,57,100,77,111)) {
    print("Ok");
    end.of.loop(o3,f69);
    return();
  }
  print("You're not close enough.");
}
if (isset(f69)) {
  reset(f69);
  new.room(4);
}
if (said("examine","bar","brick")) {
  print("It's a colorful sign(cheap).");
}
if (said("examine","wall")) {
  print("It's just a wall.");
}
if (said("examine","street")) {
  print("It's a street where the cars don't drive.");
}
if (said("examine","glass")) {
  print("There are three windows up there.");
}
if (said("examine","sewer")) {
  if (has("necklace")) {
    print("There's nothing in there.");
    return();
  }
  print("There is something.I think that it's a necklace.");
}
if (posn(o0,120,87,134,98)) {
  new.room(5);
}
if (v2 == 4) {
  new.room(7);
   }
  if(posn(o0,153,103,159,163)){
  new.room(13);
}
return();
